//
//  CWQIMNetManager.h
//  WCN
//
//  Created by 陈武琦 on 16/7/6.
//  Copyright © 2016年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XHMessage;
@interface CWQIMNetManager : NSObject

+ (void)IMGET:(NSString *)URLString
                     parameters:(id)params
                        fromId:(NSString *)fromId
                        progress:(void (^)(CGFloat percent))downloadProgress
                        success:(void (^)(id responseObject))success
                        failure:(void (^)(NSString *msg))failure;


+ (void)IMPOST:(NSString *)URLString parameters:(NSDictionary *)params message:(XHMessage *)message progress:(void (^)(CGFloat))uploadPercent success:(void (^)(id))success failure:(void (^)(NSString *))failure;

@end
